﻿namespace Bilibili.Model.Dynamic
{
    public sealed class DynamicArticle
    {
        public string Banner_Url { get; set; }
        public string Summary { get; set; }
        public string Title { get; set; }
        public long Id { get; set; }
        public DynamicArticle Stats { get; set; }
        public DynamicArticle Author { get; set; }
        public string Name { get; set; }
        public long Mid { get; set; }
        public string Face { get; set; }
        public long View { get; set; }
        public string ViewStr
        {
            get
            {
                if (View > 10000)
                    return ((double)View / 10000).ToString("0.0") + "万";
                else
                    return View.ToString();
            }
        }
    }
}